package com.new4net.exe_stream.service;

import com.new4net.exe_stream.instruction.impl.ExecutionInstruction;
import com.new4net.exe_stream.instruction.impl.ParallelInstruction;

import java.util.List;

public interface ExecutionInstructionService {

    void hosting(ExecutionInstruction instruction);

    List<ExecutionInstruction> listAll(int pageNum,int pageSize);

    int total();

    void retry(String  instructionId);


    void removeHosting(String id);
}
